﻿using Newtonsoft.Json;
using One.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneSpider.Models.ResultModel
{
    public class AnswerResult
    { 
        [JsonProperty(PropertyName = "question_id")]
        public int Id { get; set; }

        [JsonProperty(PropertyName = "question_title")]
        public string QuestionTitle { get; set; }

        [JsonProperty(PropertyName = "answer_title")]
        public string AnswerTitle { get; set; }

        [JsonProperty(PropertyName = "answer_content")]
        public string AnswerContent { get; set; }

        [JsonProperty(PropertyName = "question_makettime")]
        public DateTime MakeTime { get; set; }

        [JsonProperty(PropertyName = "start_video")]
        public string StartVideo { get; set; }

        [JsonProperty(PropertyName = "author_list")]
        public ICollection<AuthorResult> AuthorList { get; set; }

        [JsonProperty(PropertyName = "asker_list")]
        public ICollection<AuthorResult> AskerList { get; set; }
    }
}
